package com.tocici.domain.bo;

import com.tocici.domain.Carousel;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

/**
 * 轮播图业务对象 carousel
 *
 * @author zeratul
 * @date 2025-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Carousel.class, reverseConvertGenerate = false)
public class CarouselBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long carouselId;

    /**
     * 图像路径
     */
    @NotNull(message = "图像路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long imageUrl;

    /**
     * 排序
     */
    private Integer sortOrder;

    /**
     * 0-正常 1-禁用
     */
    private Integer isActive;

    /**
     * 
     */
    private Integer isDeleted;


}
